export default [
	{
		name: "主页",
		path: "/",
		component: () => import("@/pages/index/Index.vue"),
		meta: {
			needLogin: true,
			access: [],
		},
		children: [
			{
				name: "首页",
				path: "",
				component: () => import("@/pages/index/pages/home/Home.vue"),
				meta: {
					needLogin: true,
					access: [],
				},
				children: [],
			},
			{
				name: "用户管理",
				path: "user-management",
				component: () => import("@/pages/index/pages/home/UserManagement.vue"),
				meta: {
					needLogin: true,
					access: [],
				},
				children: [],
			},
			{
				name: "报名管理",
				path: "signup-management",
				component: () => import("@/pages/index/pages/home/SignupManagement.vue"),
				meta: {
					needLogin: true,
					access: [],
				},
				children: [],
			},
		],
	},
	{
		name: "登录",
		path: "/login",
		component: () => import("@/pages/login/Login.vue"),
		meta: {
			needLogin: false,
			access: [],
		},
		children: [],
	},
	{
		name: "404",
		path: "/:patchMatch(.*)*",
		component: () => import("@/pages/not-found/NotFound.vue"),
		meta: {
			needLogin: false,
			access: [],
		},
		children: [],
	},
];
